﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class PopupPause : MonoBehaviour
{
//	public void Start()
//	{
//		Admob.instance.ShowIads ();
//	}
	void OnEnable ()
	{
		//AdsControl.Instance.ShowInterstitial ();
	}

	public void Menu ()
	{
		GameManager.gameState = GameState.MENU;
		gameObject.SetActive (false);
		WindowManager.OpenWindow (WindowName.GW_MENU);
	}

	public void Continue ()
	{
		GameManager.gameState = GameState.PLAYING;
		gameObject.SetActive (false);
	}
}
